package com.yiyue.graduate.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yiyue.graduate.pojo.Course;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author yiyuexiaofusheng
 * @date 2021/1/22
 */
@Mapper
public interface CourseMapper extends BaseMapper<Course> {

    List<Course> queryAllCourse();

    Course getUser(@Param("id")Long id);

//    Course getCourse(@Param("id")Long id);
}
